rm -rf build

mkdir build

cd build

call "D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"

cmake .. -G"NMake Makefiles"
nmake

nmake install

@rem cmake .. -G"Visual Studio 12 2013"

cd ..

pause: